package main;
import generated.Ui_MainWindowClass;

import com.trolltech.qt.gui.QApplication;
import com.trolltech.qt.gui.QIcon;
import com.trolltech.qt.gui.QMainWindow;
import com.trolltech.qt.gui.QWidget;

public class MainWindow extends QMainWindow{

    Ui_MainWindowClass ui = new Ui_MainWindowClass();
     
    public static void main(String[] args) {
        QApplication.initialize(args);
        MainWindow testMainWindow = new MainWindow();
        testMainWindow.show();
        QApplication.exec();
    }
    
    public MainWindow(){
    	setWindowIcon(new QIcon("app.png"));
        ui.setupUi(this);
        Actions ua = new Actions(ui);
        ua.setActions();
    }
    
    public MainWindow(QWidget parent){
    	super(parent);
        ui.setupUi(this);
    }
}
